package com.bosch.in.rtp1.ept.dao;

import java.sql.SQLException;
import java.util.List;

import com.bosch.in.rtp1.ept.action.form.FrozenColumnForm;
import com.bosch.in.rtp1.ept.model.dto.ScrollingColumn;

/**
 * DAO interface to interact with FreezedColumn table.
 * @author TPR1HC
 *
 */

public interface FrozenColumnDao {
	
	/**
	 * Clear all frozen column
	 * @return
	 */
	boolean clearStartScrollingColumn() throws SQLException;
	
	/**
	 * Setup frozen column for specific table in parameter
	 * @param frozenColumns
	 * @return
	 */
	boolean setStartScrollingColumn(List<ScrollingColumn> frozenColumns) throws SQLException;
	
	/**
	 * Get setting of frozen column 
	 * @return
	 */
	FrozenColumnForm getFrozenColumnForm() throws SQLException;
}
